<script>
	export default {
		globalData: {
			userAccount: [{
				account: 123456,
				password: 123456,
				phone: 111111
			}],
			myAccount: {},
			// 订单列表/state1:代付款,2:代发货，3：待收货，4：待评价,refund:退款,
			dingdanList: [{
					id: 1111111111,
					name: "订单一",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 54,
					num: 5,
					state: 1,
					refund: false,
					cuidan:false
				},
				{
					id: 1111111112,
					name: "订单2",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 22,
					num: 3,
					state: 3,
					refund: false,
					cuidan:false
				},
				{
					id: 1111111113,
					name: "订单4",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 66,
					num: 4,
					state: 2,
					refund: false,
					cuidan:false
				},
				{
					id: 1111111114,
					name: "订单3",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 13,
					num: 2,
					state: 4,
					refund: false,
					cuidan:false
				},
				{
					id: 1111111115,
					name: "订单5",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 25,
					num: 7,
					state: 4,
					refund: false,
					cuidan:false
				},
				{
					id: 1111111116,
					name: "订单7",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 33,
					num: 3,
					state: 3,
					refund: false,
					cuidan:false
				},
				{
					id: 1111111117,
					name: "订单6",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 66,
					num: 3,
					state: 2,
					refund: false,
					cuidan:false
				},
				{
					id: 1111111118,
					name: "订单8",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 44,
					num: 4,
					state: 1,
					refund: false,
					cuidan:false
				},
				{
					id: 1111111119,
					name: "订单9",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 86,
					num: 4,
					state: 4,
					refund: false,
					cuidan:false
				},
				{
					id: 1111111120,
					name: "订单10",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 23,
					num: 4,
					state: 3,
					refund: false,
					cuidan:false
				},
				{
					id: 1111111121,
					name: "订单11",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 37,
					num: 4,
					state: 2,
					refund: false,
					cuidan:false
				},
				{
					id: 1111111122,
					name: "订单12",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 37,
					num: 4,
					state: 1,
					refund: false,
					cuidan:false
				}
			],
			//商品列表 num:数量,cartselect:在购物车中选中 
			orderList: [{
					id: 1111111,
					name: "商品一",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 54,
					shopid: 1,
					categoryId: 1,
					num: 0,
					cartselect: false
				},
				{
					id: 1111112,
					name: "商品二",
					src: "https://c-ssl.duitang.com/uploads/blog/202111/10/20211110213828_d6133.jpeg",
					price: 60,
					shopid: 1,
					categoryId: 1,
					num: 0,
					cartselect: false
				},
				{
					id: 1111113,
					name: "商品三",
					src: "https://c-ssl.duitang.com/uploads/blog/202105/09/20210509233215_bf98e.jpg",
					price: 79,
					shopid: 1,
					categoryId: 1,
					num: 0,
					cartselect: false
				},
				{
					id: 1111114,
					name: "商品四",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_85915.thumb.1000_0.jpeg_webp",
					price: 88,
					shopid: 1,
					categoryId: 1,
					num: 0,
					cartselect: false
				},
				{
					id: 1111115,
					name: "商品五",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 15,
					shopid: 1,
					categoryId: 2,
					num: 0,
					cartselect: false
				},
				{
					id: 1111116,
					name: "商品六",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 19,
					shopid: 2,
					categoryId: 3,
					num: 0,
					cartselect: false
				},
				{
					id: 1111117,
					name: "商品七",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 22,
					shopid: 2,
					categoryId: 4,
					num: 0,
					cartselect: false
				},
				{
					id: 1111118,
					name: "商品八",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 15,
					shopid: 2,
					categoryId: 4,
					num: 0,
					cartselect: false
				},
				{
					id: 1111119,
					name: "商品九",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 17,
					shopid: 3,
					categoryId: 5,
					num: 0,
					cartselect: false
				}, {
					id: 1111120,
					name: "商品10",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 12,
					shopid: 3,
					categoryId: 6,
					num: 0,
					cartselect: false
				},
				{
					id: 1111121,
					name: "商品11",
					src: "https://c-ssl.duitang.com/uploads/blog/202111/10/20211110213828_d6133.jpeg",
					price: 32,
					shopid: 4,
					categoryId: 7,
					num: 0,
					cartselect: false
				},
				{
					id: 1111122,
					name: "商品12",
					src: "https://c-ssl.duitang.com/uploads/blog/202105/09/20210509233215_bf98e.jpg",
					price: 34,
					shopid: 5,
					categoryId: 8,
					num: 0,
					cartselect: false
				},
				{
					id: 1111123,
					name: "商品13",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_85915.thumb.1000_0.jpeg_webp",
					price: 88,
					shopid: 6,
					categoryId: 3,
					num: 0,
					cartselect: false
				},
				{
					id: 1111124,
					name: "商品14",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 12,
					shopid: 7,
					categoryId: 3,
					num: 0,
					cartselect: false
				},
				{
					id: 1111125,
					name: "商品15",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 21,
					shopid: 8,
					categoryId: 4,
					num: 0,
					cartselect: false
				},
				{
					id: 1111126,
					name: "商品16",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 32,
					shopid: 9,
					categoryId: 2,
					num: 0,
					cartselect: false
				},
				{
					id: 1111127,
					name: "商品17",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 55,
					shopid: 10,
					categoryId: 2,
					num: 0,
					cartselect: false
				},
				{
					id: 1111128,
					name: "商品18",
					src: "https://c-ssl.duitang.com/uploads/blog/202110/04/20211004224812_0d514.thumb.1000_0.jpeg_webp",
					price: 68,
					shopid: 6,
					categoryId: 1,
					num: 0,
					cartselect: false
				}
			],
			// 店铺列表
			shopList: [{
					id: 1,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺一",
					score: "4.5",
					sales: "22345666",
					distance: "1000.7km",
					collect: true
				},
				{
					id: 2,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺二",
					score: "4.5",
					sales: "22345666",
					distance: "31.7km",
					collect: false
				},
				{
					id: 3,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺三",
					score: "4.5",
					sales: "22345666",
					distance: "16.7km",
					collect: true
				},
				{
					id: 4,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺四",
					score: "4.5",
					sales: "22345666",
					distance: "11.7km",
					collect: false
				},
				{
					id: 5,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺五",
					score: "4.5",
					sales: "22345666",
					distance: "15.7km",
					collect: false
				},
				{
					id: 6,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺六",
					score: "4.5",
					sales: "22345666",
					distance: "1.57km",
					collect: false
				},
				{
					id: 7,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺七",
					score: "4.5",
					sales: "22345666",
					distance: "1.47km",
					collect: false
				},
				{
					id: 8,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺八",
					score: "4.5",
					sales: "22345666",
					distance: "11.7km",
					collect: false
				},
				{
					id: 9,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺九",
					score: "4.5",
					sales: "22345666",
					distance: "14.7km",
					collect: false
				},
				{
					id: 10,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺十",
					score: "4.5",
					sales: "22345666",
					distance: "31.7km",
					collect: false
				},
				{
					id: 11,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺十一",
					score: "4.5",
					sales: "22345666",
					distance: "1.17km",
					collect: true
				},
				{
					id: 12,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺十二",
					score: "4.5",
					sales: "22345666",
					distance: "1.27km",
					collect: false
				},
				{
					id: 13,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺十三",
					score: "4.5",
					sales: "22345666",
					distance: "1.47km",
					collect: true
				},
				{
					id: 14,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺十四",
					score: "4.5",
					sales: "22345666",
					distance: "11.7km",
					collect: false
				},
				{
					id: 15,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺十五",
					score: "4.5",
					sales: "22345666",
					distance: "1.27km",
					collect: false
				},
				{
					id: 16,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺十六",
					score: "4.5",
					sales: "22345666",
					distance: "14.7km",
					collect: false
				},
				{
					id: 17,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺十七",
					score: "4.5",
					sales: "22345666",
					distance: "31.7km",
					collect: false
				},
				{
					id: 18,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺十八",
					score: "4.5",
					sales: "22345666",
					distance: "12.7km",
					collect: false
				},
				{
					id: 19,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺十九",
					score: "4.5",
					sales: "22345666",
					distance: "21.7km",
					collect: false
				},
				{
					id: 20,
					src: "https://c-ssl.duitang.com/uploads/blog/202204/29/20220429221614_629b4.jpeg",
					name: "店铺二十",
					score: "4.5",
					sales: "22345666",
					distance: "11.7km",
					collect: false
				}
			],
			// 优惠券
			couponList: [{
					id: 1,
					text1: "10元",
					text2: "满50使用",
					text3: "有效期2017.5.18-2017.5.19"
				},
				{
					id: 2,
					text1: "20元",
					text2: "满100使用",
					text3: "有效期2017.5.18-2017.5.19"
				},
				{
					id: 3,
					text1: "30元",
					text2: "满150使用",
					text3: "有效期2017.5.18-2017.5.19"
				},
				{
					id: 4,
					text1: "40元",
					text2: "满200使用",
					text3: "有效期2017.5.18-2017.5.19"
				},
			]
		},
		onLaunch: function() {

		},
		onShow: function() {

		},
		onHide: function() {

		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
